performHapticFeedback
Perform a haptic feedback to the user for the view.
The framework will provide haptic feedback for some built in actions, such as long presses, but you may wish to provide feedback for your own widget.
The feedback will only be performed if isHapticFeedbackEnabled is true. Note: Check compatibility support for each feedback constant described at HapticFeedbackConstantsCompat.
Return
Whether the feedback might be performed - generally this result should be ignored
Parameters
The view.
One of the constants defined in HapticFeedbackConstantsCompat
Perform a haptic feedback to the user for the view.
This is similar to performHapticFeedback, with additional options. Note: Check compatibility support for each feedback constant described at HapticFeedbackConstantsCompat.
Return
Whether the feedback might be performed - generally this result should be ignored
Parameters
The view.
One of the constants defined in HapticFeedbackConstantsCompat
Additional flags as per HapticFeedbackConstantsCompat